package org.example.service;

import lombok.extern.slf4j.Slf4j;
import org.example.mapper.SyncConfigStatisticsMapper;
import org.example.model.SyncConfigQuery;
import org.example.model.SyncConfigStats;
import org.springframework.stereotype.Service;

/**
 * @author by PengHongChao
 * @date 2025/6/26 15:17
 */
@Slf4j
@Service
public class SyncConfigStatisticsService {
    private final SyncConfigStatisticsMapper syncConfigStatisticsMapper;

    public SyncConfigStatisticsService(SyncConfigStatisticsMapper syncConfigStatisticsMapper) {
        this.syncConfigStatisticsMapper = syncConfigStatisticsMapper;
    }

    public SyncConfigStats countConfigStatus() {
        return syncConfigStatisticsMapper.countConfigStatus();
    }
}
